package fpzhan.plane.program.connect;

public class InitComment {

    private RunFlow runFlow;

    private String [] adds;

    public InitComment(RunFlow runFlow) {
        this.runFlow = runFlow;
    }

    public RunFlow comment(String comment){
        if (adds!=null && adds.length>0)return this.runFlow.init(comment,adds);
        return this.runFlow.init(comment);
    }

    protected InitComment setAdds(String[] adds) {
        this.adds = adds;
        return this;
    }
}
